package com.example.boot3.mapper;

import com.example.boot3.model.Return;
import com.example.boot3.model.Use;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author 邹成明
 */
@Mapper
public interface UseMapper {
    List<Use> getUseList();

    Integer applyVehicle(Use use);

    List<Map<String,String>> getFleetUseList();

    Integer updateEndDate(Return returnItem);




}
